package com.singfan.core.dao.database.model;

import com.singfan.common.db.annotation.Primarykey;

import java.util.Date;

/**
 * 用户收藏表（根据customer_id来散表散库）
 * Author: hansonghe
 * Date: 2015-08-19 12:12
 * Desc:
 */
public class CustomerCollect {
    //主键
    @Primarykey
    private int id;
    //用户id
    private long customerId;
    //收藏的对象的id
    private long collectId;
    //收藏对象的类型（1.门店 2.理发师 3.理发师的作品）
    private int collectType;
    //创建时间
    private Date createTime;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public long getCustomerId() {
        return customerId;
    }

    public void setCustomerId(long customerId) {
        this.customerId = customerId;
    }

    public long getCollectId() {
        return collectId;
    }

    public void setCollectId(long collectId) {
        this.collectId = collectId;
    }

    public int getCollectType() {
        return collectType;
    }

    public void setCollectType(int collectType) {
        this.collectType = collectType;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}